package org.client.iot.ui.device;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import android.os.Bundle;

import org.client.iot.R;
import org.client.iot.databinding.ActivityMaintenanceDetailBinding;
import org.tzw.template.base.BaseActivity;

public class MaintenanceDetailActivity extends BaseActivity<ActivityMaintenanceDetailBinding> {

    @Override
    protected void initView() {
        setSupportActionBar(mRoot.toolbarMaintenanceDetail.toolbarPageHead);
        mRoot.toolbarMaintenanceDetail.textViewTitle.setText(getString(R.string.maintenance_record_toolbar_title));
    }

    @Override
    protected void initListener() {
        mRoot.toolbarMaintenanceDetail.imgBack.setOnClickListener(v -> {
            finish();
        });
    }
}